import qs from 'qs'
// 统一管理项目接口地址
import request from "./request"

// 请求精品数据
export const JingPingAPI = () => request.get("/products/recommend")

// 获取验证码
export const SendSMSAPI = (params) => request.post("sendSMS", qs.stringify(params))

// 请求手机号码登录
export const PhoneReginAPI = (params) => request.post("/phoneRegin", qs.stringify(params))

// 请求微信登录
export const WeiXinLoginAPI = (params) => request.post(`/wechatUsers/PCLogin`, qs.stringify(params));

// 手机号关联微信
export const BindingAPI = (params) => request.post("/wechatUsers/binding", qs.stringify(params))